<?php
	$id_inacbg = $_POST['id_inacbg'];
	$tarif = $_POST['tarif'];
	$id_kelas_tarif=$_GET['id_kelas_tarif'];
	
	$sql="insert into tarif_inacbg (id_kelas_tarif,kode_inacbg,tarif_inacbg) values ('$id_kelas_tarif','$id_inacbg','$tarif')";
	$qry=mysql_query($sql);
	$url_sukses='utama.php?module=mod_tarif_inacbg&id_kelas_tarif='.$id_kelas_tarif;
	if($qry){
		echo "<meta http-equiv='refresh' content='0; url=$url_sukses'>";
		exit;
	}else{
		echo mysql_error();
	}
?>